﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#include "../import/head.h"
#include "os.h"

//////////////////////////////////////////////////////////////////////////////////////////////////
// 

namespace os
{
    int get_exe_full_file( char * pFile, int nLen )
    {
        int ret = 0;
        uint32_t tLen = ( uint32_t )nLen;
        _NSGetExecutablePath( pFile, &tLen );
        return ret;
    }

    const char * platform()
    {
        return "ios_static";
    }

    bool can_hot_replace()
    {
        return false;
    }

} // os
